package com.amanda.dao;

import com.amanda.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author amanda
 */
public interface OrderSettingDao {
    public long findCountByOrderDate(Date orderDate);
    // 更新可预约人数
    public void editNumberByOrderDate(OrderSetting orderSetting);
    public void add(OrderSetting orderSetting);
    public List<OrderSetting> getOrderSettingByMonth(Map<String, String> map);
    //根据预约日期查询预约设置信息
    public OrderSetting findByOrderDate(Date orderDate);
    // 更新已预约人数
    public void editReservationByOrderDate(OrderSetting orderSetting);
}
